package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 签到记录对象 sign
 * 
 * @author ruoyi
 * @date 2023-04-08
 */
public class Sign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签到ID */
    private Long signId;

    /** 课程ID */
    private Long lessonId;

    /** 用户ID */
    private Long studentId;

    /** 打卡方式 */
    @Excel(name = "打卡方式")
    private Long signType;

    /** 打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "打卡时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signTime;

    /** 打卡位置纬度 */
    private String signLocationLat;

    /** 打卡位置经度 */
    private String signLocationLong;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 课程名 */
    @Excel(name = "课程名")
    private String lessonName;

    public void setSignId(Long signId) 
    {
        this.signId = signId;
    }

    public Long getSignId() 
    {
        return signId;
    }
    public void setLessonId(Long lessonId) 
    {
        this.lessonId = lessonId;
    }

    public Long getLessonId() 
    {
        return lessonId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setSignType(Long signType) 
    {
        this.signType = signType;
    }

    public Long getSignType() 
    {
        return signType;
    }
    public void setSignTime(Date signTime) 
    {
        this.signTime = signTime;
    }

    public Date getSignTime() 
    {
        return signTime;
    }
    public void setSignLocationLat(String signLocationLat) 
    {
        this.signLocationLat = signLocationLat;
    }

    public String getSignLocationLat() 
    {
        return signLocationLat;
    }
    public void setSignLocationLong(String signLocationLong) 
    {
        this.signLocationLong = signLocationLong;
    }

    public String getSignLocationLong() 
    {
        return signLocationLong;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setLessonName(String lessonName) 
    {
        this.lessonName = lessonName;
    }

    public String getLessonName() 
    {
        return lessonName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("signId", getSignId())
            .append("lessonId", getLessonId())
            .append("studentId", getStudentId())
            .append("signType", getSignType())
            .append("signTime", getSignTime())
            .append("signLocationLat", getSignLocationLat())
            .append("signLocationLong", getSignLocationLong())
            .append("studentName", getStudentName())
            .append("lessonName", getLessonName())
            .toString();
    }
}
